/**
 * @Desc main.ts 主入口文件 全局配置
 */

import Vue from "vue";
import app from "./app.vue";

import elementUI from "element-ui"; // elelemtUI
import VueCompositionApi from "@vue/composition-api"; // vue3.0函数式声明组件尝鲜

import "element-ui/lib/theme-chalk/index.css"; // element样式
import "./assets/style/global.less"; // 全局css

import router from "./router"; // vueRouter
import store from "./store"; // vuex
import i18n from "./i18n"; // 国际化

Vue.use(elementUI);
Vue.use(VueCompositionApi);

// const _ = require("lodash"); // lodash引入全局

new Vue({
  el: "#app",
  components: { app },
  template: "<app/>",
  router,
  store,
  i18n,
});
